﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="ActivityPlan.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.SalesActivity.ActivityPlan" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
      <link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />
    
    <script language="javascript" type="text/javascript">   

        window.onload = function() {
          
            var msg = document.getElementById('ctl00_MasterMsg');
            if(msg && msg.innerHTML != '')
                showMessageBlock();
        }

     </script>
     
     
     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table id="ActivityPlan" class="detailstable">
        <tr class="tabletitle">
            <td>
                <asp:Label ID="lblHeader" runat="server" CssClass="ph5"></asp:Label>
            </td>
        </tr>
        <tr >
            <td class="pix8">
            </td>
        </tr> 
        <tr>
            <td>    
                <asp:GridView ID="ActivityPlanGrid" runat="server" AutoGenerateColumns="False" 
                    BackColor="#907977" BorderColor="#907977" BorderWidth="1px" 
                    CellPadding="3" GridLines="Vertical" BorderStyle="solid">
                    <RowStyle BackColor="#f6f6f6" ForeColor="#4A3C8C" BorderColor="#907977" />
                    <Columns>
                        <asp:TemplateField HeaderText=" ">
                            <ItemTemplate>
                                <asp:CheckBox ID="CB" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>           
                        <asp:BoundField DataField="Date" HeaderText="Date" ItemStyle-Width="50px"/>
                        <asp:TemplateField HeaderText="Renewal" ItemStyle-Width="80px">
                            <ItemTemplate>
                                <asp:Literal ID="L1" runat="server" Text=<%# Eval("Renewal") %>></asp:Literal>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Lapse" ItemStyle-Width="80px">
                            <ItemTemplate>
                                <asp:Literal ID="L2" runat="server" Text=<%# Eval("Lapse") %>></asp:Literal>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Grace" ItemStyle-Width="80px">
                            <ItemTemplate>
                                <asp:Literal ID="L3" runat="server" Text=<%# Eval("Grace") %>></asp:Literal>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Prospect" ItemStyle-Width="80px">
                            <ItemTemplate>
                                <asp:Literal ID="L4" runat="server" Text=<%# Eval("Prospect") %>></asp:Literal>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Supervisor Remarks" ItemStyle-Width="150px">
                            <ItemTemplate>
                            
                                <asp:Label ID="lblRemark" runat="server" Text=<%# Eval("Remark") %>></asp:Label>
                                <%--<asp:Literal ID="L5" runat="server" Text=<%# Eval("Remark") %>></asp:Literal>--%>
                            </ItemTemplate>
                        </asp:TemplateField>                        
                    </Columns>
                    <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                    <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" 
                        HorizontalAlign="Right" />
                    <SelectedRowStyle BackColor="#738A9C" ForeColor="#F7F7F7" Font-Bold="True" />
                    <HeaderStyle BackColor="#ae5044" Font-Bold="True" ForeColor="#F7F7F7" />
                    <AlternatingRowStyle BackColor="#cacbcf" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="left">
                <table cellpadding="0"  cellspacing="4">
                    <tr>
                        <td >
                            <asp:Button ID="btnUpdate" runat="server" Text="Update Remarks" 
                                onclick="btnUpdate_Click" Visible="False" CssClass="btn2" Width="90px" />
                        </td>
                        <td >
                            <asp:Button ID="btnClear" runat="server" Text="Clear Remarks" 
                                onclick="btnClear_Click" Visible="False" CssClass="btn2" Width="90px" />
                        </td>
                        <td >
                            <asp:Button ID="btnCancel" runat="server" Text="Cancel" 
                                onclick="btnCancel_Click" CssClass="btn" Width="76px" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    
</asp:Content>
